package com.vincent.template.dto.sys.bind;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author Vincent Wang
 * @date 2021/3/22 22:30
 */
public class BindRoleAuthGroupDto {

    @ApiModelProperty(value = "角色ID")
    @NotNull
    private Long roleId;

    @ApiModelProperty(value = "权限组ID列表")
    @NotNull
    private List<Long> authGroupIds;

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public List<Long> getAuthGroupIds() {
        return authGroupIds;
    }

    public void setAuthGroupIds(List<Long> authGroupIds) {
        this.authGroupIds = authGroupIds;
    }
}
